package org.indi.graduatemanagement.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;


/**
 * <p>
 *
 * </p>
 *
 * @author zcl
 * @since 2021-04-24
 */
@Data
@TableName("employment")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Employment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("employmentInfo_num")
    private Integer employmentInfoNum;

    @NotBlank(message = "学号不能为空")
    @TableId("employmentStu_ID")
    private String employmentStuId;

    @NotBlank(message = "姓名不能为空")
    @TableField("employmentStu_name")
    private String employmentStuName;

    @TableField("employment_To")
    private String employmentTo;

    private String employmentUnit;

    private String employmentPosition;
}
